package com.mystudy.concurrent.designModel.immutableModel;

import java.util.stream.IntStream;

/**
 * TODO:
 *
 * @author acy
 * @since 2019/05/29 15:31
 */
public class ImmutableClient {
	public static void main(String[] args) {
		ImmutablePerson person = new ImmutablePerson("acy", "杭州");
		IntStream.range(0, 5).forEach(i -> new UsePersonThread(person).start());
	}
}
